:root {
  /*按钮*/
  .ant-btn {
    width: 68px;
    border-radius: 4px;
  }

  /*primary主按钮*/
  .ant-btn-primary {
    border-color: #c20000;
    background: #c20000;
  }

  .ant-btn-primary:hover {
    border-color: #d81c1c;
    background: #d81c1c;
  }

  .ant-btn-primary:active {
    border-color: #a90000;
    background: #a90000;
  }

  [ant-click-animating-without-extra-node='true']::after {
    display: none;
  }

  /*默认按钮*/
  .ant-btn-default {
    width: 68px;
    height: 32px;
    border-radius: 4px 4px 4px 4px;
    color: #595959;
    border-color: #cecece;
  }

  .ant-btn-default:hover {
    color: #d81c1c;
    border-color: #d81c1c;
  }

  .ant-btn-default:active {
    color: #a90000;
    border-color: #a90000;
  }

  /*下拉选择select*/

  .ant-select-selector:hover {
    border-color: #c20000 !important;
  }

  .ant-select-focused:not(.ant-select-disabled).ant-select:not(
      .ant-select-customize-input
    )
    .ant-select-selector {
    border-color: #c20000 !important;
    border-radius: 4px;
    box-shadow: unset;
  }

  .ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border: 1px solid #cecece;
    border-radius: 4px;
    color: #282828;
  }

  .ant-select-item-option-active:not(.ant-select-item-option-disabled):active {
    background-color: #eaeaea;
  }

  .ant-select-item-option-selected:not(.ant-select-item-option-disabled)
    .ant-select-item-option-content {
    color: #c20000;
    font-weight: 400;
  }

  /*日期选择框*/
  .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner {
    background-color: #fff3f3;
    color: #c20000;
  }

  .ant-picker-cell-in-view .ant-picker-cell-inner {
    width: 48px;
    height: 22px;
    line-height: 22px;
    border-radius: 4px;
  }
  .ant-picker-cell-in-view .ant-picker-cell-inner:active {
    background-color: #eaeaea !important;
  }

  /*tab*/
  .ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar {
    height: 3px;
  }
  // .ant-tabs-tab.ant-tabs-tab-active {
  //   padding: 0 0 12px 0;
  // }
  .ant-tabs-tab-btn {
    font-size: 16px;
    font-weight: 400;
  }

  .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    color: #c20000;
  }

  /*table表格*/
  .ant-table-thead > tr > th {
    font-weight: 400;
    font-size: 14px;
    color: #282828;
    background: #f9f9f9;
  }

  .ant-table-tbody > tr > td {
    font-weight: 400;
    font-size: 14px;
    color: #282828;
  }

  /*pagination分页*/
  .ant-pagination-total-text {
    color: #282828;
    font-size: 14px;
  }

  .ant-pagination-item-ellipsis {
    color: #282828 !important;
  }

  .ant-pagination-item {
    border: none;
  }

  .ant-pagination-prev .ant-pagination-item-link,
  .ant-pagination-next .ant-pagination-item-link {
    border: none;
  }

  .ant-pagination-prev .ant-pagination-item-link:hover {
    border: none;
    border-radius: 4px;
    background: #f4f4f4;
  }

  .ant-pagination-next .ant-pagination-item-link:hover {
    border: none;
    border-radius: 4px;
    background: #f4f4f4;
  }

  .ant-pagination-prev .ant-pagination-item-link:active {
    background: #eaeaea;
  }

  .ant-pagination-next .ant-pagination-item-link:active {
    background: #eaeaea;
  }

  .ant-pagination-item:hover:not(.ant-pagination-item-active) {
    border-radius: 4px;
    background: #f4f4f4;

    a {
      color: #282828;
    }
  }

  .ant-pagination-item:active {
    background: #eaeaea !important;
  }

  .ant-pagination-item-active {
    border-radius: 4px;
    background: #fff3f3;

    a {
      color: #c20000;
    }
  }

  .ant-pagination-options-quick-jumper {
    color: #282828;
  }

  .ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar-animated {
    transition: none !important;
  }
}
